using System.ComponentModel.DataAnnotations;

namespace ImoviesBlazor.Shared.Dtos
{
    public class MovieForCreateDto
    {
        [Required]
        public string Name { get; set; }
        [Required]
        public string Url { get; set; }
        [Required]
        public string Category { get; set; }
        [Required]
        public string Region { get; set; }
        [Required]
        public uint Year { get; set; }
        [Required]
        public string Actors { get; set; }
        [Required]
        public string Director { get; set; }
        public string Intro { get; set; } = "暂无";
        public string Img { get; set; }
        public string Comment { get; set; } = "暂无";
    }
}